package com.wanmait.meteor.pojo;

import java.io.Serializable;
import java.util.Date;

public class ManagerIp implements Serializable {
    private Integer id;

    private Boolean enbale;

    /**
	* ip地址
	*/
    private String ipAddress;

    /**
	* 管理员id
	*/
    private Manager marager;

    /**
	* 登陆时间
	*/
    private Date loginTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Boolean getEnbale() {
        return enbale;
    }

    public void setEnbale(Boolean enbale) {
        this.enbale = enbale;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public Manager getMarager() {
        return marager;
    }

    public void setMarager(Manager marager) {
        this.marager = marager;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", enbale=").append(enbale);
        sb.append(", ipAddress=").append(ipAddress);
        sb.append(", maragerId=").append(marager);
        sb.append(", loginTime=").append(loginTime);
        sb.append("]");
        return sb.toString();
    }
}